﻿using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Text;

namespace ConsoleApp1
{
    public class Mountain
    {
        public string Weight;
        internal int Age;

        public Mountain()
        {
             Height= 10;
        }
        private int Height;
        protected string Name;

       
    }
    public class NamePick : Mountain
    {
        public NamePick()
        {
           Name = "超群";
        }
    }

    public class ManKind
    {
        public int Age;
        public int age
        {
            get
            {
                return age;
            }
            set
            {
                if (age> 20 && age< 80)
                {
                    age = value;
                }
                else
                {
                    age = 0;
                }
            }
        }
    }

}
